package com.blazer.b;

public class arrayyuejie {
    public static void main(String[] args) {
        int[] arr=new int[3];
        arr[0]=100;
        arr[1]=200;
        arr[2]=300;
//        arr[3]=500;
  for (int i=0;i<arr.length;i++){
      System.out.println(arr[i]);
  }
//  arr=null;
        System.out.println(arr.length);//NullPointerException
    }
}
